﻿namespace Yipusoft.BaseDoc.Model
{
    using System;
    using System.Runtime.CompilerServices;

    public class DocumentFileInfo
    {
        private DateTime? _createdate;
        private string _createuser;
        private string _departmentid;
        private DateTime? _enddate;
        private int _fileCount;
        private string _filepath;
        private int? _filesize;
        private string _format;
        private bool _haschild;
        private Guid _id;
        private bool _isfolder;
        private bool _isMonth = false;
        private DateTime? _lastaccessdate;
        private int? _level;
        private int _month;
        private string _newfilename;
        private int _num;
        private string _oldfilename;
        private int _orderid;
        private Guid _parentid;
        private DateTime? _startdate;
        [CompilerGenerated]
        private int <FileCount>k__BackingField;
        [CompilerGenerated]
        private int <Month>k__BackingField;
        [CompilerGenerated]
        private int <Num>k__BackingField;

        public DateTime? CreateDate
        {
            get
            {
                return this._createdate;
            }
            set
            {
                this._createdate = value;
            }
        }

        public string CreateUser
        {
            get
            {
                return this._createuser;
            }
            set
            {
                this._createuser = value;
            }
        }

        public string DepartmentID
        {
            get
            {
                return this._departmentid;
            }
            set
            {
                this._departmentid = value;
            }
        }

        public DateTime? EndDate
        {
            get
            {
                return this._enddate;
            }
            set
            {
                this._enddate = value;
            }
        }

        public int FileCount
        {
            [CompilerGenerated]
            get
            {
                return this.<FileCount>k__BackingField;
            }
            [CompilerGenerated]
            set
            {
                this.<FileCount>k__BackingField = value;
            }
        }

        public string FilePath
        {
            get
            {
                return this._filepath;
            }
            set
            {
                this._filepath = value;
            }
        }

        public int? FileSize
        {
            get
            {
                return this._filesize;
            }
            set
            {
                this._filesize = value;
            }
        }

        public string Format
        {
            get
            {
                return this._format;
            }
            set
            {
                this._format = value;
            }
        }

        public bool HasChild
        {
            get
            {
                return this._haschild;
            }
            set
            {
                this._haschild = value;
            }
        }

        public Guid ID
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        public bool IsFolder
        {
            get
            {
                return this._isfolder;
            }
            set
            {
                this._isfolder = value;
            }
        }

        public bool IsMonth
        {
            get
            {
                return this._isMonth;
            }
            set
            {
                this._isMonth = value;
            }
        }

        public DateTime? LastAccessDate
        {
            get
            {
                return this._lastaccessdate;
            }
            set
            {
                this._lastaccessdate = value;
            }
        }

        public int? Level
        {
            get
            {
                return this._level;
            }
            set
            {
                this._level = value;
            }
        }

        public int Month
        {
            [CompilerGenerated]
            get
            {
                return this.<Month>k__BackingField;
            }
            [CompilerGenerated]
            set
            {
                this.<Month>k__BackingField = value;
            }
        }

        public string NewFileName
        {
            get
            {
                return this._newfilename;
            }
            set
            {
                this._newfilename = value;
            }
        }

        public int Num
        {
            [CompilerGenerated]
            get
            {
                return this.<Num>k__BackingField;
            }
            [CompilerGenerated]
            set
            {
                this.<Num>k__BackingField = value;
            }
        }

        public string OldFileName
        {
            get
            {
                return this._oldfilename;
            }
            set
            {
                this._oldfilename = value;
            }
        }

        public int OrderID
        {
            get
            {
                return this._orderid;
            }
            set
            {
                this._orderid = value;
            }
        }

        public Guid ParentID
        {
            get
            {
                return this._parentid;
            }
            set
            {
                this._parentid = value;
            }
        }

        public DateTime? StartDate
        {
            get
            {
                return this._startdate;
            }
            set
            {
                this._startdate = value;
            }
        }
    }
}

